package com.neutech.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Neuedu-远哥
 * @version 1.0
 * @date 2021/10/21 9:32
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CartItem implements Serializable {

    private Long id;
    private Product product;
    private Long productId;

    private Double unitPrice;

    private Integer qty;

    /**
     * 创建时间
     */
    private Timestamp createTime;
    /**
     * 更新时间
     */
    private Timestamp updateTime;
}
